package com.itheima.abstract1.abstract3;

public class Text {
    public static void main(String[] args) {

        Dog d = new Dog();
        d.eat();
        d.drink();
        Cat c = new Cat();
        c.eat();
        c.drink();

    }
}
